<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%=zychclass_name(SortID,SortType)%>_<%=zych_home%></title>
<meta name="keywords" content="<%=Keywords%>" />
<meta name="description" content="<%=Desc%>" />
<link href="<%=zych_templatedir%>css/style.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="<%=dir%>js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="<%=zych_templatedir%>js/menu.js"></script>
<script type="text/javascript" src="<%=zych_templatedir%>js/superslide.2.1.js"></script>
</head>
<!--##图片列表##-->
<body>
<!--#include file="top.asp"-->
<div id="mainpd"><div class="in_title"><p><%=zychclass_pd(SortID,SortType)%></p><a class="more"><%=zych_daohangnr%></a></div>
<div class="main_250 fl" id="main_250">
<div class="left_title"><a title="分类导航"><b>分类导航</b><span>Class Nav</span></a></div>
<div class="left_box">
<ul class="type_list">
<%=zychDisNextClass(SortType,SortID)%>
</ul>
</div>
<!--#include file="left.asp"-->
</div>
  
<div class="main_700 fr" id="main_700">
<div id="position"> <strong>当前位置：</strong><%=Class_Nav(SortPath_dh)%></div>
<div class="position">
<div class="newsbox" >
<div class="news_list">
<%set rs=server.createobject("adodb.recordset") 
exec="select * from Content where isok=1 and SortID in ("&getSubSort(sortID,1)&") and addtime<#"&now()&"# order by IsTop desc,px_id desc,Cid desc" 'top 8代表每栏目显示5条新闻
rs.open exec,conn,1,1 
if rs.eof and rs.bof then
response.Write("<div style=""line-height:400%; text-indent:20px;"">此分类信息正在添加中...</div>")
else
rs.PageSize =PageSize 
iCount=rs.RecordCount 
iPageSize=rs.PageSize
maxpage=rs.PageCount 
page=request("page")
if Not IsNumeric(page) or page="" then
page=1
else
page=cint(page)
end if
if page<1 then
page=1
elseif  page>maxpage then
page=maxpage
end if
rs.AbsolutePage=Page
if page=maxpage then
x=iCount-(maxpage-1)*iPageSize
else
x=iPageSize
end if
For i=1 To x
if rs("img")<>"" then
typeimg=""&rs("img")
else
typeimg="/images/nopic.gif"
end if%>

<div class="list_box">
	<a href="<%=zych_show_url(rs("SortID"),rs("Cid"))%>" title="<%=rs("title")%>"><img src="<%=typeimg%>" alt="<%=rs("title")%>" width="315" height="175" onerror="this.src='<%=dir%>Include/images/nologo.jpg'"/></a>
	<p><a href="<%=zych_show_url(rs("SortID"),rs("Cid"))%>" title="<%=rs("title")%>"><%=stvalue(DelHtml(rs("title")),32)%></a></p>
	<% If SortType=7 Then %>
	<div class="vid_paly"><a href="<%=zych_show_url(rs("SortID"),rs("Cid"))%>" rel="sexylightbox[group1]" title="视频：<%=rs("title")%>" target="_blank" class="vLink"></a></div>
	<% End If %>
</div>
    
<%rs.movenext
next
end if%>
</div>
</div>
<%'以下显示分页 
echo PageControl(iCount,maxpage,page)
rs.close
set rs=nothing%>
</div>
</div>
</div>
<!--#include file="bottom.asp"-->
</body>
</html>
